#ifndef COMPONENT_H
#define COMPONENT_H

#include <QtCore/qglobal.h>
#include "utils.h"

#if defined(FORMAT_LIBRARY)
#  define FORMAT_PORT Q_DECL_EXPORT
#else
#  define FORMAT_PORT Q_DECL_IMPORT
#endif

#ifdef __cplusplus
extern "C"
{
#endif

FORMAT_PORT FEFormat *get_format();

FORMAT_PORT FEField *get_top_field();

// FORMAT_PORT FEVideo *get_top_video();

// FORMAT_PORT FEAudio *get_top_audio();

// FORMAT_PORT FEImage *get_top_image();

#ifdef __cplusplus
}
#endif

#endif // COMPONENT_H
